<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns the value of the specified configuration setting</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.sqlsrv-free-stmt.html">sqlsrv_free_stmt</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.sqlsrv-get-field.html">sqlsrv_get_field</a></div>
 <div class="up"><a href="ref.sqlsrv.html">SQLSRV 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.sqlsrv-get-config" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">sqlsrv_get_config</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">sqlsrv_get_config</span> &mdash; <span class="dc-title">Returns the value of the specified configuration setting</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.sqlsrv-get-config-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>sqlsrv_get_config</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$setting</code></span>
   )</div>

  <p class="para rdfs-comment">
   Returns the value of the specified configuration setting.
  </p>
 </div>

 
 <div class="refsect1 parameters" id="refsect1-function.sqlsrv-get-config-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">setting</code></em></dt>

     <dd>

      <p class="para">
       The name of the setting for which the value is returned. For a list of 
       configurable settings, see <span class="function"><a href="function.sqlsrv-configure.html" class="function">sqlsrv_configure()</a></span>.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.sqlsrv-get-config-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the value of the specified setting. If an invalid setting is specified, 
   <strong><code>FALSE</code></strong> is returned.
  </p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-function.sqlsrv-get-config-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.sqlsrv-configure.html" class="function" rel="rdfs-seeAlso">sqlsrv_configure()</a> - Changes the driver error handling and logging configurations</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.sqlsrv-free-stmt.html">sqlsrv_free_stmt</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.sqlsrv-get-field.html">sqlsrv_get_field</a></div>
 <div class="up"><a href="ref.sqlsrv.html">SQLSRV 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
